#
# Copyright (C) 2023
#
# Brick Yang <printfxxx@163.com>
#
# This program is free software. You can redistribute it and/or
# modify it as you like.
#

mdio_tool_files = files('Kbuild', 'mdio_tool.c')

custom_target('mdio_tool_kmod', output: 'mdio_tool.ko', command: kbuild_cmd, env: kenvs,
	      input: mdio_tool_files, build_always_stale: true, build_by_default: true)

meson.add_install_script(kinst_cmd.format(meson.current_build_dir()).split())
